package cn.edu.scau.cmi.dengzhengyu.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import java.util.HashSet;
import java.util.Set;

public class Teacher implements java.io.Serializable {
	
	
	private long id;
	private String name;
	private Set students = new HashSet(0);
	
	public Teacher() {
		
	}
	
	public Teacher(long id) {
		this.id=id;
	}
	
	public Teacher(long id, String name) {
		this.id=id;
		this.name=name;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set getStudents() {
		return students;
	}
	public void setStudents(Set students) {
		this.students = students;
	}
	
}